Newman Run Dashboard

Monday, 05 September 2022 11:35:18
Total Iterations

2

Total Assertions

3464

Total Failed Tests

102

Total Skipped Tests

0


File Information
Collection: serverest
Environment: Local
Timings and Data
Total run duration: 18.1s
Total data received: 90.33KB
Average response time: 4ms
Summary Item Total Failed
Requests 370 0
Prerequest Scripts 126 0
Test Scripts 214 0
Assertions 3464 102
Skipped Tests 0 -



Showing 102 Failures

Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Email e/ou senha inválidos'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Email e/ou senha inválidos'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "password": "password não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "UH4O5OnkESdYnJ81"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "i7Mw8DmmQEFIQ6mW"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "vtC8Z6lOBVGZh1Wl"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "nome": "nome não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "p98TFc3kFE45RyhV"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "preco": "preco deve ser um inteiro"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Successful POST request

Assertion Error Message
expected 400 to be one of [ 201, 202 ]
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Não é permitido possuir produto duplicado'
Failed Test: Resposta contem atributo "idProdutosDuplicados"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não encontrado'
Failed Test: Resposta contem atributo "item"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não possui quantidade suficiente'
Failed Test: Resposta contem atributo "item"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "wBMVb0eLcccF7AUP"\n}' to include 'Registro alterado com sucesso'
Failed Test: Successful PUT request

Assertion Error Message
expected 201 to be one of [ 200 ]
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'OK' but got 'Created'
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Successful POST request

Assertion Error Message
expected 400 to be one of [ 201, 202 ]
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Successful POST request

Assertion Error Message
expected 400 to be one of [ 201, 202 ]
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Este email já está sendo usado"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Created' but got 'Bad Request'
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Email e/ou senha inválidos'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Email e/ou senha inválidos'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "password": "password não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "eq7pkC1rNluv4AYZ"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "vhlmEwk8aSL2WdF3"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "pExRrOOYaeib3lrS"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "nome": "nome não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "fqArAINHXFDdKBDh"\n}' to include 'Este email já está sendo usado'
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'Bad Request' but got 'Created'
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "preco": "preco deve ser um inteiro"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Successful POST request

Assertion Error Message
expected 400 to be one of [ 201, 202 ]
Failed Test: Resposta contem atributo "message"

Assertion Error Message
expected undefined to exist
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Não é permitido possuir produto duplicado'
Failed Test: Resposta contem atributo "idProdutosDuplicados"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não encontrado'
Failed Test: Resposta contem atributo "item"

Assertion Error Message
expected undefined to exist
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não possui quantidade suficiente'
Failed Test: Resposta contem atributo "item"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 201
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "Aiil7NRMWna0jl5g"\n}' to include 'Registro alterado com sucesso'
Failed Test: Successful PUT request

Assertion Error Message
expected 201 to be one of [ 200 ]
Failed Test: Status code name has string

Assertion Error Message
expected response to have status reason 'OK' but got 'Created'
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Successful POST request

Assertion Error Message
expected 400 to be one of [ 201, 202 ]
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist
Failed Test: Status code is 201

Assertion Error Message
expected response to have status code 201 but got 400
Failed Test: Body matches string

Assertion Error Message
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Failed Test: Successful POST request

Assertion Error Message
expected 400 to be one of [ 201, 202 ]
Failed Test: Resposta contem atributo "_id"

Assertion Error Message
expected undefined to exist


There are no skipped tests



2 Iterations available to view
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 42ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 91c1013c-3b13-4b26-bdc2-5a82395109bb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 60
Request Body
 {
         
         "email": "fulano@qa.com",
          "password": "teste"
         }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 82705367-c169-49cb-a2d9-330de0022b17
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:34:59 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NDk5LCJleHAiOjE2NjIzODkwOTl9.B5rVZUTGDH6yKYsJ7_XRGulVFl692xfTx-vKKBBgB-4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Successful POST request 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 1.23KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 454f1103-6e16-4e18-a5d8-1c253baf674a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ffc31813-71e6-4577-8465-7c2e90a9169b
Content-Type application/json; charset=utf-8
Content-Length 1264
Date Mon, 05 Sep 2022 14:34:59 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 6,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "Willie Waters",
                    "email": "beltrano@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "CuTBasU1iqaPtpxd"
                },
                {
                    "nome": "usuario comum",
                    "email": "usuario@comum.com.br",
                    "password": "teste",
                    "administrador": "false",
                    "_id": "M4zPb8CB1LWqu8Ph"
                },
                {
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "*****",
                    "administrador": "true",
                    "_id": "dK52wJvzawBRHbsg"
                },
                {
                    "nome": "Ful@n*",
                    "email": "%$@uol.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "otVWZI2TwixkT4Yx"
                },
                {
                    "nome": "teste",
                    "email": "teste@carrinho.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "yCEm7vQEsDhjxPXP"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "usuarios" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0uxuPY0cbmQhpEz1
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 148B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 748d0517-b69e-4e89-9d4d-e2a7bfab761e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a1be7064-7706-47b3-86bc-cfd5d1f6d8b2
Content-Type application/json; charset=utf-8
Content-Length 148
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Fulano da Silva",
            "email": "fulano@qa.com",
            "password": "teste",
            "administrador": "true",
            "_id": "0uxuPY0cbmQhpEz1"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "_id" 1 0 0
Resposta contem atributo "email" 1 0 0
Resposta contem atributo "password" 1 0 0
Resposta contem atributo "administrador" 1 0 0
Total 22 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/iK5K8UW6IGaMJdez
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 140B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 940ebda1-1581-4639-be5a-e49937144ec3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1abe5b99-3adf-4d2d-9f04-a75f557ad08c
Content-Type application/json; charset=utf-8
Content-Length 140
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "teste",
            "email": "teste@teste.com",
            "password": "12345",
            "administrador": "true",
            "_id": "iK5K8UW6IGaMJdez"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 2 0 0
Status code is 201 2 0 0
Body matches string 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
busca o usuario que acabou de cadastrar 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/CuTBasU1iqaPtpxd
Response Information
Response Code: 200 - OK
Mean time per request: 25ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6d60ef74-f76e-4304-8773-2f70d5e93ad9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 189
Request Body
{
                    "nome": "beltranosSST da Silva",
                    "email": "beltrano@qa.com.br",
                    "password": "teste",
                    "administrador": "true"
                    
                }  
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b3050da9-51ef-44a8-9e3f-33c231ed4429
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful PUT request 1 0 0
Status code name has string 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "message" 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/FerxYnLuJ9tvYWVN
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 75a3cbad-2459-4f7a-ad2c-b79b968c105f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0c0bc562-630c-4bb4-9082-49e306c6c9b8
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 0 1 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 17 1 0
Test Failure
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 2.59KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token dc8140a6-76a3-4678-88fa-7d6d487d8f82
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a5471a77-1e97-4eac-b3c8-30daea559789
Content-Type application/json; charset=utf-8
Content-Length 2651
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 13,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 339,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49934,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 136B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f66c8d6c-c195-4451-ad2d-fad5726fa38a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 90f63d32-944b-49fd-932d-320cdf29b66d
Content-Type application/json; charset=utf-8
Content-Length 136
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Logitech MX Vertical",
            "preco": 470,
            "descricao": "Mouse",
            "quantidade": 339,
            "_id": "BeeJh5lz3k6kSIzA"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "preco" 1 0 0
Resposta contem atributo "descricao" 1 0 0
Resposta contem atributo "_id" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 23 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/pvDC6ZEJ7kzoefbo
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 133B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1211a588-7c2e-4d7e-bdd5-271c206bd52f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a50d3dea-1a80-4da8-83d2-221522d76f62
Content-Type application/json; charset=utf-8
Content-Length 133
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Sleek Cotton Salad",
            "preco": 5000,
            "descricao": "Steel",
            "quantidade": 1,
            "_id": "pvDC6ZEJ7kzoefbo"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 3 0 0
Status code is 201 3 0 0
Body matches string 3 0 0
Status code name has string 3 0 0
Resposta contem atributo "message" 3 0 0
Resposta contem atributo "_id" 3 0 0
Content-Type is present 3 0 0
Access-Control-Allow-Origin is present 3 0 0
x-dns-prefetch-control 3 0 0
x-frame-options 3 0 0
strict-transport-security 3 0 0
x-download-options 3 0 0
x-content-type-options 3 0 0
x-xss-protection 3 0 0
x-moesif-transaction-id 3 0 0
Content-Length 3 0 0
Date 3 0 0
Connection 3 0 0
Keep-Alive 3 0 0
busca o produto que acabou de cadastrar 3 0 0
Total 60 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/6OnahBgmAiaJ6Apj
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAwLCJleHAiOjE2NjIzODkxMDB9.TMvJNirUjEXzyibNxZHznqaUQCvgjM6oUEbOxf1Dzwk
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 62e0d18a-9928-4e9f-bb8c-b2b6a7d6b8a9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 166
Request Body
 {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25 , 
                    "descricao": "Steel",
                    "quantidade": 6
                    
              }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a8ae8e07-5cae-419d-9398-4051ed6313c6
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful PUT request 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/35QtrOdSN0YGANJy
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 46B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAwLCJleHAiOjE2NjIzODkxMDB9.TMvJNirUjEXzyibNxZHznqaUQCvgjM6oUEbOxf1Dzwk
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 19ffadcc-5d5e-4033-8ddb-3b0d621bcbe7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 07d9dcaf-a1e8-49e4-9c0a-89f100257c54
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 34 2 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 595B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token be125573-8639-4378-8767-0c4f90ada3ff
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id cdc3521c-385e-4ea3-8e4d-2614dc44ef1d
Content-Type application/json; charset=utf-8
Content-Length 595
Date Mon, 05 Sep 2022 14:35:00 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 1,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "carrinhos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MDEsImV4cCI6MTY2MjM4OTEwMX0.pLSGAWni6aqq6bRkJYW_IWFv514Svd1V1LT7fKAEnQ8
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 08f99576-9371-4769-81bc-c3def6106ba4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5cf91718-7711-4efc-ace8-5dc4cbb89d0e
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "bTPFaRA5ZdIE5xDj"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 467864df-d183-46da-a889-bb17e92c3c92
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b1645c55-42ce-43a8-8f91-95752b8273e0
Content-Type application/json; charset=utf-8
Content-Length 401
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 68B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAxLCJleHAiOjE2NjIzODkxMDF9.Waoc3bnD9MgLdjwZlBl7UJBOM05yR8vGJcmJlcSohBk
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f34297ff-6298-4e33-8989-dd7a8b0cfedb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 08f7487c-5663-4d02-a5a7-552439e092ae
Content-Type application/json; charset=utf-8
Content-Length 68
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não foi encontrado carrinho para esse usuário"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 68B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAxLCJleHAiOjE2NjIzODkxMDF9.Waoc3bnD9MgLdjwZlBl7UJBOM05yR8vGJcmJlcSohBk
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c88cb3e7-9666-4ebb-8640-434cf106061b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 46e62b6c-43ef-4cfe-90fa-51cb5a38aed8
Content-Type application/json; charset=utf-8
Content-Length 68
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não foi encontrado carrinho para esse usuário"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 275B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c135c001-d12b-42cc-8606-6aa248ca0d82
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 83
Request Body
{
                    "email": "usuario@comum.com.br",
                    "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d8f870e2-3d61-4748-891f-ac1bbd663582
Content-Type application/json; charset=utf-8
Content-Length 275
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InVzdWFyaW9AY29tdW0uY29tLmJyIiwicGFzc3dvcmQiOiJ0ZXN0ZSIsImlhdCI6MTY2MjM4ODUwMSwiZXhwIjoxNjYyMzg5MTAxfQ.UwSc8VZkN1VZQaxDH2yRhJ4_pHWEzz80-r8u_cVL7fQ"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Resposta contém atributo "message" 1 0 0
Resposta contém atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 04ec890b-9b39-43ec-9ab0-a11dadd0a7ea
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 68
Request Body
{
            "email": "fulano@qa.com",
                    "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 51497729-97e0-48bd-a56b-dc1917e52d43
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAxLCJleHAiOjE2NjIzODkxMDF9.Waoc3bnD9MgLdjwZlBl7UJBOM05yR8vGJcmJlcSohBk"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 50B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c76a385b-3599-43a7-b7ae-eeb3b3872c0d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 67
Request Body
{
                    "email": "",
                    "password": "Teste@123"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 23aff80b-f004-4e6a-85e2-44c6c8bb92cc
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 0 1 0
Status code name has string 1 0 0
Response time is less than 200ms 1 0 0
Resposta contem atributo "email" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 17 1 0
Test Failure
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Email e/ou senha inválidos'
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 4ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2ffa7f62-d119-4574-89f1-c7ba24c92898
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 66
Request Body
{
            "email": "lila@schoen.net",
                    "password": " "
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id deb147e6-92d4-4a2c-8dd8-a3e0233ecbc5
Content-Type application/json; charset=utf-8
Content-Length 48
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Email e/ou senha inválidos"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 50B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7bdf8c8c-d5fd-4d27-9e84-aeac7a5f2a14
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 91
Request Body
{
                    "email": "Testando.testando.com.br",
                    "password": "Teste@123"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 23ce67ea-d779-4374-bb07-c9608a751dcf
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Body matches string 0 1 0
Status code is 400 1 0 0
Status code name has string 1 0 0
Response time is less than 200ms 1 0 0
Resposta contem atributo "email" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 17 1 0
Test Failure
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Email e/ou senha inválidos'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/ITENi6U74781uPAO
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 16a8fdec-fb0b-4f11-b0bd-228fdf60bdc5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f11d3fa9-c30b-4f16-8127-4c511553bcbc
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Excluir usuario 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/CuTBasU1iqaPtpxd
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4d8132f6-f737-4617-b83e-93eebdbd0ec8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 194
Request Body
{
                    "nome": "beltranos da Silva",
                    "email": "beltrano@qa.com.br",
                    "password": "u9JCPsXm2VOTpIo",
                    "administrador": "true"
                    
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 04c9bbff-35c1-45d1-b732-e2d3e060b880
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:01 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Successful PUT request 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 1.44KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6a714e4f-4dbb-4194-aa64-962dde1acfe4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 73738013-2006-4ed3-81e3-55145850fb0b
Content-Type application/json; charset=utf-8
Content-Length 1477
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 7,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "beltranos da Silva",
                    "email": "beltrano@qa.com.br",
                    "password": "u9JCPsXm2VOTpIo",
                    "administrador": "true",
                    "_id": "CuTBasU1iqaPtpxd"
                },
                {
                    "nome": "usuario comum",
                    "email": "usuario@comum.com.br",
                    "password": "teste",
                    "administrador": "false",
                    "_id": "M4zPb8CB1LWqu8Ph"
                },
                {
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "*****",
                    "administrador": "true",
                    "_id": "dK52wJvzawBRHbsg"
                },
                {
                    "nome": "teste",
                    "email": "teste@teste.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "iK5K8UW6IGaMJdez"
                },
                {
                    "nome": "Ful@n*",
                    "email": "%$@uol.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "otVWZI2TwixkT4Yx"
                },
                {
                    "nome": "teste",
                    "email": "teste@carrinho.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "yCEm7vQEsDhjxPXP"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Response time is less than 200ms 2 0 0
Successful GET request 2 0 0
Body matches string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
quantidade de usuarios 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 1.12KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3091e527-1af5-486b-af51-a9f0c2fd1ad8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5a3840e4-5a7b-41aa-8722-760ebed78e35
Content-Type application/json; charset=utf-8
Content-Length 1142
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        },
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 1,
                            "precoUnitario": 470
                        }
                    ],
                    "precoTotal": 5710,
                    "quantidadeTotal": 2,
                    "idUsuario": "yCEm7vQEsDhjxPXP",
                    "_id": "bTPFaRA5ZdIE5xDj"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Response time is less than 200ms 2 0 0
Successful GET request 2 0 0
Body matches string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
quantidade de usuarios 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/a1qznFQJTlkezSeA
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d74e83f6-d75f-47a1-af2d-8df2f91000a0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6104e7ac-c7bd-45da-8a5b-8e85c74098f9
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/TKQmDTA6AZmiHczO
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 538739c5-b0af-4d7d-8286-07143a5476fe
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 163a8710-6e17-4374-9a9b-f746803eb557
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/cRYGrOgBjllps2EX
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 231eacc1-2b06-44ad-8178-4810f7869d82
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e613e78c-404f-4f26-ac59-893499a886ee
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 12ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e2d0427a-9868-45f3-8c24-af8d62b5e197
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 68
Request Body
{
            "email": "fulano@qa.com",
                    "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c70c4f15-3fcc-409d-9d9e-92fb30c15541
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAyLCJleHAiOjE2NjIzODkxMDJ9.Mk1sKTn1yyxkPdGD9EQ41fUz3R-0dDyKVMOTmAsk4co"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/CuTBasU1iqaPtpxd
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token a9914f2b-997f-4971-b851-5197d51eacbd
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 120
Request Body
{
          "nome": "Elijah Kirlin MD",
          "email": "beltrano@qa.com.br",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a7f16c0c-5dbf-4647-a086-d8b6eaf765c2
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful PUT request 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 1.43KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 69349422-8771-4a7c-bd96-6ba77a32218a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 93a93710-4e4e-49d2-a81c-39e230160c96
Content-Type application/json; charset=utf-8
Content-Length 1465
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 7,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "Elijah Kirlin MD",
                    "email": "beltrano@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "CuTBasU1iqaPtpxd"
                },
                {
                    "nome": "usuario comum",
                    "email": "usuario@comum.com.br",
                    "password": "teste",
                    "administrador": "false",
                    "_id": "M4zPb8CB1LWqu8Ph"
                },
                {
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "*****",
                    "administrador": "true",
                    "_id": "dK52wJvzawBRHbsg"
                },
                {
                    "nome": "teste",
                    "email": "teste@teste.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "iK5K8UW6IGaMJdez"
                },
                {
                    "nome": "Ful@n*",
                    "email": "%$@uol.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "otVWZI2TwixkT4Yx"
                },
                {
                    "nome": "teste",
                    "email": "teste@carrinho.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "yCEm7vQEsDhjxPXP"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Response time is less than 200ms 2 0 0
Successful GET request 2 0 0
Status code name has string 2 0 0
Body matches string 2 0 0
Resposta contem atributo "quantidade" 2 0 0
Resposta contem atributo "usuarios" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/5TCa8C30fOwuFRBY
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 634892ea-a16e-48c3-8cba-8cbe1e3bda71
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7c210492-8573-423b-a64c-106668c0c9e8
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 4 0 0
Status code is 200 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "message" 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
busca o usuario que acabou de deletar 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/4cxYHa7MW1gJcc4N
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 150c48ef-3a72-4fce-98e8-34c8ab3178aa
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a4d2e5ad-4294-42f1-80a2-8b5aa7964064
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:02 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 4 0 0
Status code is 200 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "message" 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
busca o usuario que acabou de deletar 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0uxuPY0cbmQhpEz1
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 148B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f0112bb4-4542-4db2-a1d3-1cfc91b70472
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2bc3069f-c475-4902-b0e7-3bb7934db6f9
Content-Type application/json; charset=utf-8
Content-Length 148
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Fulano da Silva",
            "email": "fulano@qa.com",
            "password": "teste",
            "administrador": "true",
            "_id": "0uxuPY0cbmQhpEz1"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "_id" 1 0 0
Resposta contem atributo "email" 1 0 0
Resposta contem atributo "password" 1 0 0
Resposta contem atributo "administrador" 1 0 0
Total 22 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0uxuPY0cbmQhpEz2
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 84e17c06-3bf1-404d-8de0-0be91ddb2e73
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1869d132-df73-4d56-9551-7c0fce908f18
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "message" 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 393d76db-3da3-49f5-a0ef-9a951d95f81e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 162
Request Body
{
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true"
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5cf2d0c9-433b-48f4-a192-5978151ddd79
Content-Type application/json; charset=utf-8
Content-Length 53
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Este email já está sendo usado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/RUn7rvwp45QhXFQ7
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ac6a989b-7a75-491f-9927-092eb5cc28c9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9e24e38e-0fc0-4237-977c-734337bcb916
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 17 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/yCEm7vQEsDhjxPXP
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAxLCJleHAiOjE2NjIzODkxMDF9.Waoc3bnD9MgLdjwZlBl7UJBOM05yR8vGJcmJlcSohBk
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ca8acba4-1400-4696-a775-cd2d41c69307
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 55b2067d-1698-4596-a048-f2014c5856fc
Content-Type application/json; charset=utf-8
Content-Length 117
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir usuário com carrinho cadastrado",
            "idCarrinho": "bTPFaRA5ZdIE5xDj"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "idCarrinho" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f4ef9172-6f24-47f3-82cc-17276f4487c3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 43da30a5-a830-4d6b-8248-71a81cf45f32
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 56B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1220e631-a1f1-4d71-a066-823422f581d3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 146
Request Body
{
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "",
                    "administrador": "true"
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 27ff6f2f-2287-42b6-ba4f-56419620148a
Content-Type application/json; charset=utf-8
Content-Length 56
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "password": "password não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 0 1 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 0 1 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 16 2 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "password": "password não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/HzMwLOMysJbPasHH
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1c73a124-c5bc-4099-aa1c-12fd9900d4eb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a78837c8-fc2b-4bd9-bac8-90cd36561d87
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/UH4O5OnkESdYnJ81
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b9d97a0e-b37a-4448-8b9b-d7cd45c0f283
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8e898600-58e0-45d0-8f6a-9c48297af55a
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "UH4O5OnkESdYnJ81"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/i7Mw8DmmQEFIQ6mW
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3810ab57-f7fa-4f9d-ba4a-f2ad6c2ee1b7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 32ff5e18-93d4-463c-a1b5-702e01f1dc53
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:03 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "i7Mw8DmmQEFIQ6mW"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/vtC8Z6lOBVGZh1Wl
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9908027b-d13a-443e-8220-841df10462c4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e11e131d-3922-48f4-bf48-a72648694d0c
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "vtC8Z6lOBVGZh1Wl"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 46B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ca5920d9-fd72-4d6f-992d-0f72d3aa721a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 587e19fd-7177-4059-9734-cfbe52b67d6a
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "nome": "nome não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/p98TFc3kFE45RyhV
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 41e233c2-d359-4dfa-bab1-9c8d450b69a9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1ca702b1-edc6-4197-a0ca-57334e9c31f9
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "p98TFc3kFE45RyhV"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ae36e940-b0b1-4071-b15b-0cd04f5127ce
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5238f8de-4660-433f-957f-abd30ba09c95
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/otVWZI2TwixkT4Yx
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 50B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3e5a4bc1-a25c-4b6f-8d7e-5fd6343b04b9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 151
Request Body
{
                    "nome": "Ful@n*",
                    "email": "%$@####.com",
                    "password": "teste",
                    "administrador": "true"
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 393ddec8-d979-48bd-b6ab-b3a8c47fd91f
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 0 1 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 0 1 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 16 2 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTAxLCJleHAiOjE2NjIzODkxMDF9.Waoc3bnD9MgLdjwZlBl7UJBOM05yR8vGJcmJlcSohBk
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ee5cc960-7144-4baf-9ebb-48f7c078c3c3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 165
Request Body
{
                     "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382
                    
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e2812bce-5dd0-4ec8-91a8-dbd516e9b2c3
Content-Type application/json; charset=utf-8
Content-Length 53
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Já existe produto com esse nome"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 9ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9287b0cb-eca9-4474-bc09-64c76ef556c3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 152
Request Body
{
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 7
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id cd439768-98f0-4f00-b42d-bbc593b227bf
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 1 0 0
Response time is less than 200ms 1 0 0
FAIL POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/0cLci3Se0jxoG2aw
Response Information
Response Code: 403 - Forbidden
Mean time per request: 5ms
Mean size per request: 56B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InVzdWFyaW9AY29tdW0uY29tLmJyIiwicGFzc3dvcmQiOiJ0ZXN0ZSIsImlhdCI6MTY2MjM4ODUwNCwiZXhwIjoxNjYyMzg5MTA0fQ.0NijtcxvujCaEf10neioYiyGxQI7PtSD9I8EdOzAIp4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7a543c5c-5bc8-48c1-a69d-9a9eb76fb4fe
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 155
Request Body
 {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 200
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8afe74fc-0074-498b-9bdb-475bd5f8ac62
Content-Type application/json; charset=utf-8
Content-Length 56
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Rota exclusiva para administradores"
        }
Test Information
NamePassedFailedSkipped
Status code is 403 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ab885441-d640-4503-a075-249dc698fe4a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 44
Request Body
{"email":"fulano@qa.com","password":"teste"}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d062afe6-f415-480c-8c60-4d47b15b166b
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA0LCJleHAiOjE2NjIzODkxMDR9.O1VHSOaJS3BMZ-cSJZ-EBL97pjpXSWqueqrWO67Mqn4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Body matches string 3 0 0
Response time is less than 200ms 3 0 0
Successful DELETE request 3 0 0
Resposta contem atributo "message" 3 0 0
Content-Type is present is present 3 0 0
Access-Control-Allow-Origin is present is present 3 0 0
x-dns-prefetch-control is present 3 0 0
x-frame-options is present 3 0 0
strict-transport-security is present 3 0 0
x-download-options is present 3 0 0
x-content-type-options is present 3 0 0
x-xss-protection is present 3 0 0
x-moesif-transaction-id is present 3 0 0
Content-Length is present 3 0 0
Date is present 3 0 0
Connection is present 3 0 0
Keep-Alive is present 3 0 0
Total 54 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 46B

Test Pass Percentage
75 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA0LCJleHAiOjE2NjIzODkxMDR9.O1VHSOaJS3BMZ-cSJZ-EBL97pjpXSWqueqrWO67Mqn4
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b3719342-ce57-4280-84a2-473945905f9f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b00cf9d3-7891-4152-be2e-6143bedf8f69
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 4 0
Body matches string 0 4 0
Response time is less than 200ms 4 0 0
Successful POST request 0 4 0
Resposta contem atributo "message" 0 4 0
Resposta contem atributo "_id" 0 4 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 60 20 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "preco": "preco deve ser um inteiro"\n}' to include 'Cadastro realizado com sucesso'
Successful POST request
expected 400 to be one of [ 201, 202 ]
Resposta contem atributo "message"
expected undefined to exist
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA0LCJleHAiOjE2NjIzODkxMDR9.O1VHSOaJS3BMZ-cSJZ-EBL97pjpXSWqueqrWO67Mqn4
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token de227587-5a23-483a-aa80-3f51485cadd4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 56a7463f-2916-4ee5-a03d-91b53e3e04b5
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:04 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 72 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2d5235f5-dd0e-45da-962e-546a88d531bb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 55fec34f-b3d1-4add-b237-9921db39f440
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "quantidade" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8fe43575-64ea-410f-bac1-91c6e9696a65
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a5196373-f73f-4247-ab04-bd1919a15806
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "quantidade" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 23324b74-03ac-4f26-855c-2661aad12aa2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c8efc4e3-2144-45ce-b9d4-61b12b4a77e9
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0235c9e3-8907-436e-ab1c-de819bdf7b1f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1b6713b0-bf64-446c-8298-012e5a8e0cec
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/OBIT5Tpr3PpiYy0m
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 49f64be5-29b3-4c79-b8fc-c5dbf0554609
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 4f3d8c27-f4a0-4412-9799-3c18bd2de62f
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Successful POST request 4 0 0
Resposta contem atributo "message" 4 0 0
Resposta contem atributo "_id" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 55722635-63cc-4e2b-80b1-e9cd38ae5666
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 59f64ee9-f38d-4baf-b3be-d512dd629826
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "nome" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token bd740c4c-2b33-45bc-9370-cc698fc97a1b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 732d9f92-0672-4fbd-847f-de752843def0
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "quantidade" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA1LCJleHAiOjE2NjIzODkxMDV9.RjATd3RvWvBAxedd15hJB5e6nGWuirZpH98tlc-tPAc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 616ae2bd-64df-41f3-880e-dd8f76553eca
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8bb34415-a7d9-4a9d-a6e4-d1b691dfe222
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:05 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "descricao" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA2LCJleHAiOjE2NjIzODkxMDZ9.HGQpw8Cjz9sZGmvzQBFT6Aly-OY9V8i1FVvupI8x4IE
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 08325ad9-f5da-44d1-aea7-211a4f661d09
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ddd9370f-a341-471e-bba5-ebcf19edbfbc
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA2LCJleHAiOjE2NjIzODkxMDZ9.HGQpw8Cjz9sZGmvzQBFT6Aly-OY9V8i1FVvupI8x4IE
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 13c08a7c-088e-4815-9cc4-7575e4a2a25e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a914eff1-dbb7-4ec5-abcc-ea4ba119228d
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "sBb2am2q5oSz2393"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 61B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA2LCJleHAiOjE2NjIzODkxMDZ9.HGQpw8Cjz9sZGmvzQBFT6Aly-OY9V8i1FVvupI8x4IE
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 004f0bc6-7ba9-4a98-9d1b-36094bac33ea
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a1eeae36-d4dc-4b6d-ab2f-cb584fa93c32
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "idProdutosDuplicados" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Não é permitido possuir produto duplicado'
Resposta contem atributo "idProdutosDuplicados"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 61B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA2LCJleHAiOjE2NjIzODkxMDZ9.HGQpw8Cjz9sZGmvzQBFT6Aly-OY9V8i1FVvupI8x4IE
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b68e6d78-82de-4587-9eeb-cade39308ea8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 103
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BI",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6c734c27-1ca2-44b8-97de-6e3e1a199c99
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "item" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não encontrado'
Resposta contem atributo "item"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 61B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA2LCJleHAiOjE2NjIzODkxMDZ9.HGQpw8Cjz9sZGmvzQBFT6Aly-OY9V8i1FVvupI8x4IE
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token fe8644d3-b1df-4f3a-803c-63ee24cd9967
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 103
Request Body
{
          "produtos": [
            {
              "idProduto": "F3sOiJGmgeEZYzq0",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c9a3a0ff-4056-44ff-b8bd-c34931ea4400
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "item" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não possui quantidade suficiente'
Resposta contem atributo "item"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 10ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 46cf1aa6-eda9-4fcf-8aaa-aa50528cdd9e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 103
Request Body
{
          "produtos": [
            {
              "idProduto": "F3sOiJGmgeEZYzq0",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d6f66894-022e-42fa-a997-e929baeef491
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg5
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0ab715d7-c501-4421-96f3-a7a7f140bc98
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 72cccf5c-9f36-4d2d-b51b-fdd0ea4489bf
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Carrinho não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 588e988c-3812-476d-a5ec-0ee31f83e63c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 681b8b97-a28e-4a98-b384-906b7666d847
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c8acb93f-3927-4422-ac39-b9d6ba58f1c8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ebd951f0-185d-4fb2-aa5a-00f027a94a18
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 2.78KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 79a3f804-3d74-45af-a41f-67734e7e124f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id dd6ba7b2-d26c-40db-8016-9f041e47ccfa
Content-Type application/json; charset=utf-8
Content-Length 2842
Date Mon, 05 Sep 2022 14:35:06 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 14,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 337,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49932,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/bPNuJt3w0RqzmgOo
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA2LCJleHAiOjE2NjIzODkxMDZ9.HGQpw8Cjz9sZGmvzQBFT6Aly-OY9V8i1FVvupI8x4IE
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 970185a5-981a-4339-a651-26898d161a2a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c8e74d55-608c-4955-a1ae-b654d5784740
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Successful POST request 4 0 0
Resposta contem atributo "message" 4 0 0
Resposta contem atributo "_id" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 136B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d4592d17-81f6-4071-a11b-5a561030c7ca
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9b36d84c-43b0-4bf2-9c5b-2d5a63653b8d
Content-Type application/json; charset=utf-8
Content-Length 136
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Logitech MX Vertical",
            "preco": 470,
            "descricao": "Mouse",
            "quantidade": 337,
            "_id": "BeeJh5lz3k6kSIzA"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "_id" 1 0 0
Resposta contem atributo "preco" 1 0 0
Resposta contem atributo "descricao" 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 22 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/vmMdsbV6xPxXvaYz
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 82B

Test Pass Percentage
79 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA3LCJleHAiOjE2NjIzODkxMDd9.kZ3X0U56p2Rajsndo3SAtSmOeKoDQW-1_ttWmhEsie0
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 328a6480-ccc0-4eb5-b734-a42dcb3106f9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 164
Request Body
{
                    "nome" : "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7
                    }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 815e10fe-b6bf-4cd1-86d7-fa13343c0ce3
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "wBMVb0eLcccF7AUP"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Successful PUT request 0 2 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 30 8 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "wBMVb0eLcccF7AUP"\n}' to include 'Registro alterado com sucesso'
Successful PUT request
expected 201 to be one of [ 200 ]
Status code name has string
expected response to have status reason 'OK' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/yG3LM3d5fM49wLLY
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA3LCJleHAiOjE2NjIzODkxMDd9.kZ3X0U56p2Rajsndo3SAtSmOeKoDQW-1_ttWmhEsie0
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ee2502d3-cfa6-4f37-b771-90c6efe07991
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d40a94c7-0dbc-4d2c-a1d3-fa8b5de06b40
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Response time is less than 200ms 3 0 0
Status code name has string 3 0 0
Successful DELETE request 3 0 0
Body matches string 3 0 0
Resposta contem atributo "message" 3 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 1.65KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8bc4b179-8575-42f9-8148-7dc2522fdff4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a9fb6b82-a491-4696-9ab7-303fc3f4558c
Content-Type application/json; charset=utf-8
Content-Length 1689
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        },
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 1,
                            "precoUnitario": 470
                        }
                    ],
                    "precoTotal": 5710,
                    "quantidadeTotal": 2,
                    "idUsuario": "yCEm7vQEsDhjxPXP",
                    "_id": "bTPFaRA5ZdIE5xDj"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        },
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 1,
                            "precoUnitario": 470
                        }
                    ],
                    "precoTotal": 5710,
                    "quantidadeTotal": 2,
                    "idUsuario": "0uxuPY0cbmQhpEz1",
                    "_id": "sBb2am2q5oSz2393"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Successful GET request 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "carrinhos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 61B

Test Pass Percentage
79 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MDcsImV4cCI6MTY2MjM4OTEwN30.M5IYc7MmW4C2A3lw4n8gLW0mGr3xMF7baK8ziBzBG2o
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b9e6139d-0fe9-4c09-9f3a-f553d3612474
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 28facb02-e229-4219-b3c2-0b0f4a01de08
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Successful POST request 0 2 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 30 8 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Successful POST request
expected 400 to be one of [ 201, 202 ]
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7c0f692e-459a-4e0f-b8bd-5cae926b2caa
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 793d1f18-58a7-4884-a7f8-2e94852eaea0
Content-Type application/json; charset=utf-8
Content-Length 401
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Successful GET request 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MDcsImV4cCI6MTY2MjM4OTEwN30.M5IYc7MmW4C2A3lw4n8gLW0mGr3xMF7baK8ziBzBG2o
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 60a06862-212f-40ba-a6f4-8c25e3534522
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ce33e61c-a735-4f51-8683-668131a74cc0
Content-Type application/json; charset=utf-8
Content-Length 86
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MDcsImV4cCI6MTY2MjM4OTEwN30.M5IYc7MmW4C2A3lw4n8gLW0mGr3xMF7baK8ziBzBG2o
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e2e8ce5b-fe4a-4d70-bea3-5cd2d6b35fd3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7bb9cd12-b9d8-4653-9ad2-613c5528fb69
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "JFSv77jqsMK2jxQ7"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MDcsImV4cCI6MTY2MjM4OTEwN30.M5IYc7MmW4C2A3lw4n8gLW0mGr3xMF7baK8ziBzBG2o
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e96514eb-e239-48d3-9153-7937be931c6a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 311b245d-101e-411e-9796-8348a1fff684
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/0qcARBcbirINYGvg
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 066633ba-deb4-4203-a3de-47fe0c139ab6
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6b6584dd-29d0-46ee-8d74-a5a54d54dcad
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:07 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MDcsImV4cCI6MTY2MjM4OTEwN30.M5IYc7MmW4C2A3lw4n8gLW0mGr3xMF7baK8ziBzBG2o
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5a978102-d15b-44c9-a3d8-910c4c7c167f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 57
Request Body
{
          "email": "fulano@qa.com",
           "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 266b5a15-ab4a-47a9-b5cc-90baeb9102c5
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 2.97KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 85f86ac7-9fa4-4c7d-a9a2-a226e950ee62
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c1fcb2b4-ede7-4c1c-b023-23e37be42323
Content-Type application/json; charset=utf-8
Content-Length 3045
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 15,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 337,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49932,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wBMVb0eLcccF7AUP"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Content-Type is present 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 61B

Test Pass Percentage
79 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6acab247-c087-4936-9421-bdb09f1bd925
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id edceec8e-4599-412a-b129-1e28c99eb9c7
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Successful POST request 0 2 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 30 8 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Successful POST request
expected 400 to be one of [ 201, 202 ]
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token eabec9b4-a7e3-4d4f-8a0f-9023e4e19582
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 44
Request Body
{"email":"fulano@qa.com","password":"teste"}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0f33e66c-41e2-4286-a41b-4efb47ad73e7
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Body matches string 3 0 0
Response time is less than 200ms 3 0 0
Successful DELETE request 3 0 0
Resposta contem atributo "message" 3 0 0
Content-Type is present is present 3 0 0
Access-Control-Allow-Origin is present is present 3 0 0
x-dns-prefetch-control is present 3 0 0
x-frame-options is present 3 0 0
strict-transport-security is present 3 0 0
x-download-options is present 3 0 0
x-content-type-options is present 3 0 0
x-xss-protection is present 3 0 0
x-moesif-transaction-id is present 3 0 0
Content-Length is present 3 0 0
Date is present 3 0 0
Connection is present 3 0 0
Keep-Alive is present 3 0 0
Total 54 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/rcguIgQDVzrq0GgO
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2edf9ffa-93d6-4d9c-9ab1-dc0065be09e4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id aa98cb83-1940-4e25-825f-9823f386cf02
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7ee76c85-9671-4811-81ce-aad36e9620c3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 57
Request Body
{
          "email": "fulano@qa.com",
           "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 37ce1a8f-c3bd-479f-98d6-1d9355816378
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 2.97KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ff1e8dc8-ad80-4eda-b672-54ecfa7585d5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id eabcf4cc-864c-41db-93f5-98e7c4692b10
Content-Type application/json; charset=utf-8
Content-Length 3045
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 15,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 338,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49933,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wBMVb0eLcccF7AUP"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Content-Type is present 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8b74fae6-afae-4291-906c-66ebbf63cef5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1463589c-cfc0-42f5-a3b6-a724389b8647
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "mTYzuHWZxpI5yEay"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/mTYzuHWZxpI5yEay
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8f089e41-722c-4a8b-9766-fc2cc9840be4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2f75dcd9-7c0b-44dd-9378-290c8b56b8db
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Carrinho não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 4 0 0
carrinho excluido 4 0 0
Response time is less than 200ms 4 0 0
Successful DELETE request 4 0 0
Resposta contem atributo "message" 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 72 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6f49aa82-7758-450a-9fbe-840b6b94e994
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 60
Request Body
 {
         
         "email": "fulano@qa.com",
          "password": "teste"
         }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 329364b9-2d2e-4d2e-8476-65e1b0676664
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:08 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA4LCJleHAiOjE2NjIzODkxMDh9.zpuRjHefRoQ7K9Q7XXmmWkLTzvdnNZq5u-KnkUwLBQ4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Successful POST request 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 1.43KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b8fb9239-c7f5-4ca2-8061-63dfc2b12e7a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 55ce6494-5bc8-4c31-92a8-778656fba0aa
Content-Type application/json; charset=utf-8
Content-Length 1465
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 7,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "Elijah Kirlin MD",
                    "email": "beltrano@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "CuTBasU1iqaPtpxd"
                },
                {
                    "nome": "usuario comum",
                    "email": "usuario@comum.com.br",
                    "password": "teste",
                    "administrador": "false",
                    "_id": "M4zPb8CB1LWqu8Ph"
                },
                {
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "*****",
                    "administrador": "true",
                    "_id": "dK52wJvzawBRHbsg"
                },
                {
                    "nome": "teste",
                    "email": "teste@teste.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "iK5K8UW6IGaMJdez"
                },
                {
                    "nome": "Ful@n*",
                    "email": "%$@uol.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "otVWZI2TwixkT4Yx"
                },
                {
                    "nome": "teste",
                    "email": "teste@carrinho.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "yCEm7vQEsDhjxPXP"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "usuarios" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0uxuPY0cbmQhpEz1
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 148B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 03ad7319-7da5-4f29-ad75-ef3a549bc7e2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 72b433c7-ab5e-49df-85de-4ebc65af0075
Content-Type application/json; charset=utf-8
Content-Length 148
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Fulano da Silva",
            "email": "fulano@qa.com",
            "password": "teste",
            "administrador": "true",
            "_id": "0uxuPY0cbmQhpEz1"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "_id" 1 0 0
Resposta contem atributo "email" 1 0 0
Resposta contem atributo "password" 1 0 0
Resposta contem atributo "administrador" 1 0 0
Total 22 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 45B

Test Pass Percentage
80 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9a81b1b8-e69b-467c-83f4-068ac46de72a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d3f2c038-be82-4209-9e2f-62e9b50dc7dd
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 2 0 0
Status code is 201 0 2 0
Body matches string 0 2 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 0 2 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
busca o usuario que acabou de cadastrar 2 0 0
Total 32 8 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "message": "Este email já está sendo usado"\n}' to include 'Cadastro realizado com sucesso'
Status code name has string
expected response to have status reason 'Created' but got 'Bad Request'
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/CuTBasU1iqaPtpxd
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e2d540cd-d3bb-48f6-9f59-cf9be28cc66d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 189
Request Body
{
                    "nome": "beltranosSST da Silva",
                    "email": "beltrano@qa.com.br",
                    "password": "teste",
                    "administrador": "true"
                    
                }  
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 374d1571-8d38-4de1-8175-e9014e3cbdb0
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful PUT request 1 0 0
Status code name has string 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "message" 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/FerxYnLuJ9tvYWVN
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 9c5326b4-388e-49aa-adc4-a5beaaed96d7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3c98d8b3-678f-42e5-b23e-12fbfc7420dc
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 0 1 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 17 1 0
Test Failure
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 2.97KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 49faf8a7-79c4-4483-a8c2-63b522533c49
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 56152bdf-66ae-4201-b65f-f40d48ac91a8
Content-Type application/json; charset=utf-8
Content-Length 3045
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 15,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 337,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49932,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wBMVb0eLcccF7AUP"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 136B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b34e15ea-7401-43e5-9669-970c816e4210
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a5801ab5-2393-40c1-a946-127ea08e5748
Content-Type application/json; charset=utf-8
Content-Length 136
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Logitech MX Vertical",
            "preco": 470,
            "descricao": "Mouse",
            "quantidade": 337,
            "_id": "BeeJh5lz3k6kSIzA"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "preco" 1 0 0
Resposta contem atributo "descricao" 1 0 0
Resposta contem atributo "_id" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 23 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/CStfzGPc3byCT3Yw
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 139B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 610f5fc1-3c46-4d06-b905-6d83cd2b5732
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id eab66aa7-ddbc-4642-bb73-86bd91e07d5b
Content-Type application/json; charset=utf-8
Content-Length 139
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Gorgeous Wooden Chips",
            "preco": 5000,
            "descricao": "Concrete",
            "quantidade": 1,
            "_id": "CStfzGPc3byCT3Yw"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 3 0 0
Status code is 201 3 0 0
Body matches string 3 0 0
Status code name has string 3 0 0
Resposta contem atributo "message" 3 0 0
Resposta contem atributo "_id" 3 0 0
Content-Type is present 3 0 0
Access-Control-Allow-Origin is present 3 0 0
x-dns-prefetch-control 3 0 0
x-frame-options 3 0 0
strict-transport-security 3 0 0
x-download-options 3 0 0
x-content-type-options 3 0 0
x-xss-protection 3 0 0
x-moesif-transaction-id 3 0 0
Content-Length 3 0 0
Date 3 0 0
Connection 3 0 0
Keep-Alive 3 0 0
busca o produto que acabou de cadastrar 3 0 0
Total 60 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/6OnahBgmAiaJ6Apj
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA5LCJleHAiOjE2NjIzODkxMDl9.kwH_AluH6yzgydbwG07G9rLWeBE4zfuYuH0gaU-HSeU
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token eff25679-d0b4-49d6-b6d4-ef973d8f4ad1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 166
Request Body
 {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25 , 
                    "descricao": "Steel",
                    "quantidade": 6
                    
              }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a74b4978-39d6-4894-9690-0d38ecf25ba8
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful PUT request 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/35QtrOdSN0YGANJy
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 46B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTA5LCJleHAiOjE2NjIzODkxMDl9.kwH_AluH6yzgydbwG07G9rLWeBE4zfuYuH0gaU-HSeU
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ad0835be-a68b-4663-ae80-5989fcdfc538
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 31991104-9797-4382-a79e-7d7a26c1ec56
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:09 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 34 2 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Nenhum registro excluído"\n}' to include 'Registro excluído com sucesso'
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 595B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 75431c95-4c24-4a19-af64-f88cf0697757
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 936c7599-a494-4b79-99f3-1ae5db3a8fa3
Content-Type application/json; charset=utf-8
Content-Length 595
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 1,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "carrinhos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MTAsImV4cCI6MTY2MjM4OTExMH0.0dq7Pfqc_xf2hHCGzFdjP2GFqdP5tplOvKG97wkWnTQ
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6850202f-c2c2-4151-9224-4e937fc3932b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id a9374f6b-2dd7-47f9-b498-dc76ee2820ea
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "iO18lUlunajYRdul"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5f3cac70-61d6-44bd-b2b4-05cb6faff8eb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f7679f3f-d44e-4d71-8bd7-ae9ebffebccd
Content-Type application/json; charset=utf-8
Content-Length 401
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 68B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEwLCJleHAiOjE2NjIzODkxMTB9.PLCxxBEvK3w25VGptLn2d6zZ6sEvklSLEfcQrkAUb-Q
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 079d2e42-345b-48f7-92e5-4bb1c671396f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5bffa004-c8f8-4701-b172-11ad729151c2
Content-Type application/json; charset=utf-8
Content-Length 68
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não foi encontrado carrinho para esse usuário"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 68B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEwLCJleHAiOjE2NjIzODkxMTB9.PLCxxBEvK3w25VGptLn2d6zZ6sEvklSLEfcQrkAUb-Q
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b92fd849-7a7a-4535-9c59-d2937f3712a6
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 501af628-9bc9-4924-919f-874b01912e6e
Content-Type application/json; charset=utf-8
Content-Length 68
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não foi encontrado carrinho para esse usuário"
        }
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 275B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2ded5d58-867f-4a1d-8499-3163a8571aeb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 83
Request Body
{
                    "email": "usuario@comum.com.br",
                    "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 702bf7c9-87f6-4c61-93f2-eec052694d8e
Content-Type application/json; charset=utf-8
Content-Length 275
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InVzdWFyaW9AY29tdW0uY29tLmJyIiwicGFzc3dvcmQiOiJ0ZXN0ZSIsImlhdCI6MTY2MjM4ODUxMCwiZXhwIjoxNjYyMzg5MTEwfQ.a82BGlZMYdxZw9ZBnOGvEXSYr1ZG8XiAh0YH79dIjsQ"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Resposta contém atributo "message" 1 0 0
Resposta contém atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d6952f84-817c-439b-841c-62d5f5b8caff
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 68
Request Body
{
            "email": "fulano@qa.com",
                    "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 444ade9b-7ab1-4132-85df-7e5fe88adaa1
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEwLCJleHAiOjE2NjIzODkxMTB9.PLCxxBEvK3w25VGptLn2d6zZ6sEvklSLEfcQrkAUb-Q"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 50B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ce60951b-5f8b-4aba-a08c-13dd824af539
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 67
Request Body
{
                    "email": "",
                    "password": "Teste@123"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 54f7e837-fea4-41f3-8b35-45b37b861e04
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 0 1 0
Status code name has string 1 0 0
Response time is less than 200ms 1 0 0
Resposta contem atributo "email" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 17 1 0
Test Failure
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Email e/ou senha inválidos'
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 6ms
Mean size per request: 48B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 50de9215-cd4c-4e20-81fd-6e255ce973b6
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 66
Request Body
{
            "email": "lila@schoen.net",
                    "password": " "
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c3418c9c-aebc-4c3d-ad91-90d7675f4605
Content-Type application/json; charset=utf-8
Content-Length 48
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Email e/ou senha inválidos"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
94 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 592641d3-dda2-4be1-941c-33643175844f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 91
Request Body
{
                    "email": "Testando.testando.com.br",
                    "password": "Teste@123"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f0c1e3d5-1bcf-48f5-860c-3d5202d2f8de
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Body matches string 0 1 0
Status code is 400 1 0 0
Status code name has string 1 0 0
Response time is less than 200ms 1 0 0
Resposta contem atributo "email" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 17 1 0
Test Failure
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Email e/ou senha inválidos'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/goPC5GtrX9HPysln
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token fd05a0f9-6dec-4734-9279-a3d719d765dc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5b369cbb-a7be-432d-9de0-7e718cbc879e
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:10 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Excluir usuario 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/CuTBasU1iqaPtpxd
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InVzdWFyaW9AY29tdW0uY29tLmJyIiwicGFzc3dvcmQiOiJ0ZXN0ZSIsImlhdCI6MTY2MjM4ODUwNCwiZXhwIjoxNjYyMzg5MTA0fQ.0NijtcxvujCaEf10neioYiyGxQI7PtSD9I8EdOzAIp4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 32a7baff-a0d4-4992-9873-22dc734b5806
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 194
Request Body
{
                    "nome": "beltranos da Silva",
                    "email": "beltrano@qa.com.br",
                    "password": "_3PgGWGcoXSwopb",
                    "administrador": "true"
                    
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 1bb013c3-4e02-451e-8655-6fffb9804119
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Successful PUT request 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 1.44KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c9734077-8316-49c0-9dc3-87b88c1f74f3
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id c4a62aef-05a5-4bb7-b11d-ef16f2da643c
Content-Type application/json; charset=utf-8
Content-Length 1477
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 7,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "beltranos da Silva",
                    "email": "beltrano@qa.com.br",
                    "password": "_3PgGWGcoXSwopb",
                    "administrador": "true",
                    "_id": "CuTBasU1iqaPtpxd"
                },
                {
                    "nome": "usuario comum",
                    "email": "usuario@comum.com.br",
                    "password": "teste",
                    "administrador": "false",
                    "_id": "M4zPb8CB1LWqu8Ph"
                },
                {
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "*****",
                    "administrador": "true",
                    "_id": "dK52wJvzawBRHbsg"
                },
                {
                    "nome": "teste",
                    "email": "teste@teste.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "iK5K8UW6IGaMJdez"
                },
                {
                    "nome": "Ful@n*",
                    "email": "%$@uol.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "otVWZI2TwixkT4Yx"
                },
                {
                    "nome": "teste",
                    "email": "teste@carrinho.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "yCEm7vQEsDhjxPXP"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Response time is less than 200ms 2 0 0
Successful GET request 2 0 0
Body matches string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
quantidade de usuarios 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 1.12KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 21cc57f8-aaae-43c2-af03-6decb4b4f469
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8b7e519b-d651-428f-b5f1-8aad0bbebdee
Content-Type application/json; charset=utf-8
Content-Length 1142
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        },
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 1,
                            "precoUnitario": 470
                        }
                    ],
                    "precoTotal": 5710,
                    "quantidadeTotal": 2,
                    "idUsuario": "yCEm7vQEsDhjxPXP",
                    "_id": "iO18lUlunajYRdul"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Response time is less than 200ms 2 0 0
Successful GET request 2 0 0
Body matches string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
quantidade de usuarios 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/8BFtmA9NdVNXnIe5
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token d8c5a5d2-3f9d-4a84-87c5-d361067372b6
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2caa960f-c109-4b13-bb90-ddd3bf864880
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/f25P963spA6nC25p
Response Information
Response Code: 200 - OK
Mean time per request: 12ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6ae33534-37a4-42a5-b4cd-b475b417eca8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3d510fd8-13c8-4c63-85fa-da50b79aafe7
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 2 0 0
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/BfVVFe9i8FRHTb7R
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6a51d8df-9992-46a9-a016-3f362f29ca7a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3fcc659f-fb39-407a-b9d2-2628da6d5a3d
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 505fc62e-0599-4659-939f-a410b6655619
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 68
Request Body
{
            "email": "fulano@qa.com",
                    "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 98f434b1-9ec0-4627-994b-db92ac07f89d
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTExLCJleHAiOjE2NjIzODkxMTF9.wQsPgCVJSQlLXAZNh01I6arqQgx9OR3sBJOu5qPMnS0"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/CuTBasU1iqaPtpxd
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1a167dff-0d11-4722-8784-561c7676c5f0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 121
Request Body
{
          "nome": "Patrick Kertzmann",
          "email": "beltrano@qa.com.br",
          "password": "teste",
          "administrador": "true"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 5956d275-8dcc-4b80-9088-443d9efe8689
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful PUT request 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 1.43KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 11085c39-d31c-4bc4-a99e-275ee934c6e1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id db87c591-a566-4650-83f6-ded7f090ba4b
Content-Type application/json; charset=utf-8
Content-Length 1466
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 7,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "Patrick Kertzmann",
                    "email": "beltrano@qa.com.br",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "CuTBasU1iqaPtpxd"
                },
                {
                    "nome": "usuario comum",
                    "email": "usuario@comum.com.br",
                    "password": "teste",
                    "administrador": "false",
                    "_id": "M4zPb8CB1LWqu8Ph"
                },
                {
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "*****",
                    "administrador": "true",
                    "_id": "dK52wJvzawBRHbsg"
                },
                {
                    "nome": "teste",
                    "email": "teste@teste.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "iK5K8UW6IGaMJdez"
                },
                {
                    "nome": "Ful@n*",
                    "email": "%$@uol.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "otVWZI2TwixkT4Yx"
                },
                {
                    "nome": "teste",
                    "email": "teste@carrinho.com",
                    "password": "12345",
                    "administrador": "true",
                    "_id": "yCEm7vQEsDhjxPXP"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Response time is less than 200ms 2 0 0
Successful GET request 2 0 0
Status code name has string 2 0 0
Body matches string 2 0 0
Resposta contem atributo "quantidade" 2 0 0
Resposta contem atributo "usuarios" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/E7K29vJ2e7il9enC
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3dee325e-e87f-4ef1-bb14-668f2329483d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 820d8aa0-8b1d-4aff-b856-cbf6a417a18b
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:11 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 4 0 0
Status code is 200 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "message" 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
busca o usuario que acabou de deletar 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/4sgQG5ozY8DpObJQ
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6fa9dc85-9eef-4f40-82e9-5de063ef6853
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 35930093-2efd-4fcf-a2bf-39e688ea2b35
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Pegando id do user criado 4 0 0
Status code is 200 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "message" 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
busca o usuario que acabou de deletar 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0uxuPY0cbmQhpEz1
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 148B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b86329ed-9ce3-4c6b-a3f3-3c7e67d63c1c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id efdbda9b-ce80-4969-b6b0-794da8a2f78b
Content-Type application/json; charset=utf-8
Content-Length 148
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Fulano da Silva",
            "email": "fulano@qa.com",
            "password": "teste",
            "administrador": "true",
            "_id": "0uxuPY0cbmQhpEz1"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "_id" 1 0 0
Resposta contem atributo "email" 1 0 0
Resposta contem atributo "password" 1 0 0
Resposta contem atributo "administrador" 1 0 0
Total 22 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios/0uxuPY0cbmQhpEz2
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e0cdb748-9058-4385-9aa6-536aba129d98
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 63be729a-1efe-411d-8e76-6da21ed8e19b
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Usuário não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Resposta contem atributo "message" 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 8ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 41c489bb-d7fe-49f1-8959-d6e9d7539702
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 162
Request Body
{
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true"
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 394066be-da75-43aa-ada9-ab8ea5ab346f
Content-Type application/json; charset=utf-8
Content-Length 53
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Este email já está sendo usado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/RUn7rvwp45QhXFQ7
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 199f1024-83eb-4784-91cd-c7d06ea86de9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id cd459591-1f73-4894-a87d-35d5feba0fc5
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 17 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/yCEm7vQEsDhjxPXP
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEwLCJleHAiOjE2NjIzODkxMTB9.PLCxxBEvK3w25VGptLn2d6zZ6sEvklSLEfcQrkAUb-Q
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0f30a22b-59e5-4375-bf3b-3d2f1a086629
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0949771c-09a6-49f5-9d4d-eaacf0ba7f78
Content-Type application/json; charset=utf-8
Content-Length 117
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido excluir usuário com carrinho cadastrado",
            "idCarrinho": "iO18lUlunajYRdul"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "idCarrinho" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 46B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 80a95fdd-6fc6-4fcd-b29b-440ab2ef4f09
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 68222885-2857-4bed-9250-a07c71baf55e
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 56B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e11da0e3-3194-4964-b593-3855c5a755e5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 146
Request Body
{
                    "nome": "Ful@n*",
                    "email": "uuu@uol.com",
                    "password": "",
                    "administrador": "true"
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 76400538-11f2-41a6-9600-03712a804646
Content-Type application/json; charset=utf-8
Content-Length 56
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "password": "password não pode ficar em branco"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 0 1 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 0 1 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 16 2 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "password": "password não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/bUW8hWd0PA3xSlwU
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8397ec9d-fb71-4e4f-a08d-e45e9e8ee313
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id db6a5ddd-73fc-4d66-be85-5f812ca9d866
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/eq7pkC1rNluv4AYZ
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0d2cdbff-f3f7-4395-838f-afee555fed5d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3a14d268-8faf-4d75-a344-b6273af7dd81
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "eq7pkC1rNluv4AYZ"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/vhlmEwk8aSL2WdF3
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ad2b894a-d509-4326-a923-ccdc3eb16f2d
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 7eff3a19-6867-4715-91d8-23ead7030c3c
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:12 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "vhlmEwk8aSL2WdF3"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/pExRrOOYaeib3lrS
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token cdafe09a-82da-44ee-883d-db87ac2eac3f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f38d0baa-48ab-4548-87c9-45b527f0a710
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "pExRrOOYaeib3lrS"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 46B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 44db3855-e681-454d-93b6-a416acb1aa2c
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id dea8b2c1-0bd7-4e6f-a7a8-9c013a012171
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "nome": "nome não pode ficar em branco"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/fqArAINHXFDdKBDh
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
84 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token abe05cb0-0aed-490d-911a-91e15a5748ca
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id d57195d4-c602-4d92-9594-e80bc380a0dd
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 32 6 0
Test Failures
Test NameAssertion Error
Status code is 400
expected response to have status code 400 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "fqArAINHXFDdKBDh"\n}' to include 'Este email já está sendo usado'
Status code name has string
expected response to have status reason 'Bad Request' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 46B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4c286a27-4ff3-4152-bd05-5160f58bb620
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6feae499-0528-4be3-82ec-9305e4cad502
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: PUT
Request URL: http://localhost:3000/usuarios/otVWZI2TwixkT4Yx
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 50B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ff8997b1-f80a-4bd7-99d5-2b73ad450fcb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 151
Request Body
{
                    "nome": "Ful@n*",
                    "email": "%$@####.com",
                    "password": "teste",
                    "administrador": "true"
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ebda02b1-a662-42dc-a577-562ed5dfbf3b
Content-Type application/json; charset=utf-8
Content-Length 50
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "email": "email deve ser um email válido"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 0 1 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 0 1 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 16 2 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "email": "email deve ser um email válido"\n}' to include 'Este email já está sendo usado'
Resposta contem atributo "message"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 53B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEwLCJleHAiOjE2NjIzODkxMTB9.PLCxxBEvK3w25VGptLn2d6zZ6sEvklSLEfcQrkAUb-Q
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e35b13e7-6d54-4e0d-84f6-d13ea01d8b98
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 165
Request Body
{
                     "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382
                    
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 85b1eb88-c82f-4a1a-8ebb-cfa06bb47442
Content-Type application/json; charset=utf-8
Content-Length 53
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Já existe produto com esse nome"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 5ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 352d3892-6524-4d49-977a-8340082906b7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 152
Request Body
{
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 7
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8d8bd6b3-ccd3-44e4-b933-b932e66f9551
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 1 0 0
Response time is less than 200ms 1 0 0
FAIL POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/0cLci3Se0jxoG2aw
Response Information
Response Code: 403 - Forbidden
Mean time per request: 4ms
Mean size per request: 56B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InVzdWFyaW9AY29tdW0uY29tLmJyIiwicGFzc3dvcmQiOiJ0ZXN0ZSIsImlhdCI6MTY2MjM4ODUxMywiZXhwIjoxNjYyMzg5MTEzfQ.QOFPHTg1nGKQ2e24jtkPzaA9WOAtb_m_ye3xXiSqXSo
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7abb6a98-8c25-41f6-98e1-c45b10db32aa
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 155
Request Body
 {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 200
                }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 562bf462-315b-4210-bbab-590cbf668ab4
Content-Type application/json; charset=utf-8
Content-Length 56
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Rota exclusiva para administradores"
        }
Test Information
NamePassedFailedSkipped
Status code is 403 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present 2 0 0
Access-Control-Allow-Origin is present 2 0 0
x-dns-prefetch-control 2 0 0
x-frame-options 2 0 0
strict-transport-security 2 0 0
x-download-options 2 0 0
x-content-type-options 2 0 0
x-xss-protection 2 0 0
x-moesif-transaction-id 2 0 0
Content-Length 2 0 0
Date 2 0 0
Connection 2 0 0
Keep-Alive 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e1515c1c-099c-4e8f-9de5-7a380c7054ce
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 44
Request Body
{"email":"fulano@qa.com","password":"teste"}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 9fad0644-c3d2-4b35-b4fc-9a0ffc751ea2
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEzLCJleHAiOjE2NjIzODkxMTN9.TnWEgiwmYWLvAGW6rg9Npj7EOCHF9NYNCpt6HblHHJw"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Body matches string 3 0 0
Response time is less than 200ms 3 0 0
Successful DELETE request 3 0 0
Resposta contem atributo "message" 3 0 0
Content-Type is present is present 3 0 0
Access-Control-Allow-Origin is present is present 3 0 0
x-dns-prefetch-control is present 3 0 0
x-frame-options is present 3 0 0
strict-transport-security is present 3 0 0
x-download-options is present 3 0 0
x-content-type-options is present 3 0 0
x-xss-protection is present 3 0 0
x-moesif-transaction-id is present 3 0 0
Content-Length is present 3 0 0
Date is present 3 0 0
Connection is present 3 0 0
Keep-Alive is present 3 0 0
Total 54 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
75 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTEzLCJleHAiOjE2NjIzODkxMTN9.TnWEgiwmYWLvAGW6rg9Npj7EOCHF9NYNCpt6HblHHJw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b05ca7f1-2f9c-4b9b-8701-f94a5eff17dd
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b88f56eb-66cd-4122-b1ab-809b9538418a
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:13 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 4 0
Body matches string 0 4 0
Response time is less than 200ms 4 0 0
Successful POST request 0 4 0
Resposta contem atributo "message" 0 4 0
Resposta contem atributo "_id" 0 4 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 60 20 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "preco": "preco deve ser um inteiro"\n}' to include 'Cadastro realizado com sucesso'
Successful POST request
expected 400 to be one of [ 201, 202 ]
Resposta contem atributo "message"
expected undefined to exist
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token cef5f54a-17f1-4637-ac38-49d75064d1aa
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id abb39142-ca8b-46f7-92b6-063fd537a1e9
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 72 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token dd108a7b-9471-4ed2-b12f-e1f6c631ee52
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 114170f6-ffd4-4eb6-9226-56ce2df35e5f
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "quantidade" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token df72dd30-2371-4f33-bbf6-b7f5054f2989
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id dfd85e55-fecd-4e88-8d8e-0e71dfb872e1
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "quantidade" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 6ebf5062-45c7-4b63-bf8c-8a35c684615e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 0d027bb9-97db-414b-a95b-c0ea7d725d69
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f017e934-813a-4b1a-99d5-32d1a0b5306a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ac9847b3-470f-4bea-afb9-6b61495f7b4a
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/BaMODvVY16BsjA7Y
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token fb692f6a-69db-4102-a125-7717c0dd1e8f
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id f5cec535-3e60-4235-819a-40600926d791
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Successful POST request 4 0 0
Resposta contem atributo "message" 4 0 0
Resposta contem atributo "_id" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 4435db71-77c7-483b-b87f-de14c02049bb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 6ac1af2d-f155-4de9-82ee-1f794e3ffde6
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "nome" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0c04d307-80ff-42f7-95b2-6df49bc8b0bc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 724c7e02-81f8-45c4-9f59-f9f8ede9b710
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "quantidade" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 12e4637f-6189-44d1-a120-13cedecd67d0
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 35cebbd1-990e-4ef3-b98e-4deef4319389
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:14 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "descricao" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/undefined
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 46B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE0LCJleHAiOjE2NjIzODkxMTR9.A6PhT2_TNLw-23OVpVjdj9DAa6Ir-hBM4TMYHL8SKfw
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0622e41b-6f26-4f25-885c-e647db45df91
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2b1a4402-7613-4ec9-9b54-ff4fb6d2d895
Content-Type application/json; charset=utf-8
Content-Length 46
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Nenhum registro excluído"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Status code name has string 4 0 0
Resposta contem atributo "preco" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 76 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE1LCJleHAiOjE2NjIzODkxMTV9.pq2VMwWL7sd0BYltKP8j1TOjffz2kRxfjTX451o3-P4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7ccf7a99-4883-4d4f-8ec3-189570d30a0a
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 77693942-9704-4649-b158-4d9e32fc2e19
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "wUTsjpgA9hMIKphS"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 61B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE1LCJleHAiOjE2NjIzODkxMTV9.pq2VMwWL7sd0BYltKP8j1TOjffz2kRxfjTX451o3-P4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ccebcece-71b3-4fa4-997d-22814760c1d1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 4b3352d3-9441-44dc-b04a-d0f950a8048d
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "idProdutosDuplicados" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Não é permitido possuir produto duplicado'
Resposta contem atributo "idProdutosDuplicados"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 61B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE1LCJleHAiOjE2NjIzODkxMTV9.pq2VMwWL7sd0BYltKP8j1TOjffz2kRxfjTX451o3-P4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8dc6acda-3706-49d5-97df-7f3b5b3363cb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 103
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BI",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8f69361c-c00b-4930-91e0-c156bbe30ed9
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "item" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não encontrado'
Resposta contem atributo "item"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 61B

Test Pass Percentage
89 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE1LCJleHAiOjE2NjIzODkxMTV9.pq2VMwWL7sd0BYltKP8j1TOjffz2kRxfjTX451o3-P4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token c084337c-518e-4d86-a9e4-c6913dedc4dd
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 103
Request Body
{
          "produtos": [
            {
              "idProduto": "F3sOiJGmgeEZYzq0",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ffb952a4-4710-4d2d-8c7d-7f52c06b908f
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 2 0 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "item" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 4 0
Test Failures
Test NameAssertion Error
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Produto não possui quantidade suficiente'
Resposta contem atributo "item"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 3ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b0baa0c2-8b3f-4b4d-9283-b502c2400cc7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 103
Request Body
{
          "produtos": [
            {
              "idProduto": "F3sOiJGmgeEZYzq0",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 974c38c7-379d-4ed8-a05c-7b3db93091bd
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg5
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 06902f76-dfd8-4178-ba40-56960371d4df
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8643c8e3-f48c-41b0-8adc-61fd91b15fba
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Carrinho não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 400 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "message" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 5ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token dea4d101-6ee9-4c7d-8737-417490a97882
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 210b893e-1231-4ab0-987d-52b6b2249548
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 5ms
Mean size per request: 103B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2062662d-3a5f-4328-aa70-b54c2a5d2cfb
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 18c941b1-2c24-4f92-ab37-0538bee33085
Content-Type application/json; charset=utf-8
Content-Length 103
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Token de acesso ausente, inválido, expirado ou usuário do token não existe mais"
        }
Test Information
NamePassedFailedSkipped
Status code is 401 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 3.17KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token a6b55908-44b6-47da-907a-a5dba7da949e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id fb614d5f-5b8f-43d8-87b5-3e77f9cbb643
Content-Type application/json; charset=utf-8
Content-Length 3242
Date Mon, 05 Sep 2022 14:35:15 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 16,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 335,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Gorgeous Wooden Chips",
                    "preco": 5000,
                    "descricao": "Concrete",
                    "quantidade": 1,
                    "_id": "CStfzGPc3byCT3Yw"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49930,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wBMVb0eLcccF7AUP"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Body matches string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present 1 0 0
Access-Control-Allow-Origin is present 1 0 0
x-dns-prefetch-control 1 0 0
x-frame-options 1 0 0
strict-transport-security 1 0 0
x-download-options 1 0 0
x-content-type-options 1 0 0
x-xss-protection 1 0 0
x-moesif-transaction-id 1 0 0
Content-Length 1 0 0
Date 1 0 0
Connection 1 0 0
Keep-Alive 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/poGWBIZ9HZfaUJNV
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE1LCJleHAiOjE2NjIzODkxMTV9.pq2VMwWL7sd0BYltKP8j1TOjffz2kRxfjTX451o3-P4
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 667fe990-eaaf-4c5d-8a80-41fdb0937cdf
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id e0acb31d-2bfc-4114-80b4-a9c9640a220f
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 4 0 0
Body matches string 4 0 0
Response time is less than 200ms 4 0 0
Successful POST request 4 0 0
Resposta contem atributo "message" 4 0 0
Resposta contem atributo "_id" 4 0 0
Excluir produto 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 80 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos/BeeJh5lz3k6kSIzA
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 136B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ee7fa37d-0084-44a7-b1e4-3c63fc02548b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id fd1f4dc9-db69-4a9b-b50f-ecc8057884e0
Content-Type application/json; charset=utf-8
Content-Length 136
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "nome": "Logitech MX Vertical",
            "preco": 470,
            "descricao": "Mouse",
            "quantidade": 335,
            "_id": "BeeJh5lz3k6kSIzA"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "nome" 1 0 0
Resposta contem atributo "_id" 1 0 0
Resposta contem atributo "preco" 1 0 0
Resposta contem atributo "descricao" 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 22 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/vmMdsbV6xPxXvaYz
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 82B

Test Pass Percentage
79 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE2LCJleHAiOjE2NjIzODkxMTZ9.h62G6xHP1Arlg72AQ3q3_dgo5Lmh-IIeLB2Vh2N_rUc
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e5578f20-6ca2-4b3a-bc58-107e8fe81fe7
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 167
Request Body
{
                    "nome" : "Ergonomic Concrete Pizza",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7
                    }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id aee5df7e-84bd-42d3-8ad2-c8678f0353ab
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "Aiil7NRMWna0jl5g"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Successful PUT request 0 2 0
Status code name has string 0 2 0
Resposta contem atributo "message" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 30 8 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 201
Body matches string
expected '{\n    "message": "Cadastro realizado com sucesso",\n    "_id": "Aiil7NRMWna0jl5g"\n}' to include 'Registro alterado com sucesso'
Successful PUT request
expected 201 to be one of [ 200 ]
Status code name has string
expected response to have status reason 'OK' but got 'Created'
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/VuSIchppjQRzS9WS
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE2LCJleHAiOjE2NjIzODkxMTZ9.h62G6xHP1Arlg72AQ3q3_dgo5Lmh-IIeLB2Vh2N_rUc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token eec0fdd6-3e8c-4257-8a71-8dd5565b8ae5
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 4b4d9039-1048-412d-a860-fb87ca53fa49
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Response time is less than 200ms 3 0 0
Status code name has string 3 0 0
Successful DELETE request 3 0 0
Body matches string 3 0 0
Resposta contem atributo "message" 3 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 200 - OK
Mean time per request: 2ms
Mean size per request: 1.65KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1c27eb1c-51df-4804-8c2b-4ac775c29c77
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id fe91f9ee-379a-4421-98b3-0b2ed90fa295
Content-Type application/json; charset=utf-8
Content-Length 1689
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "carrinhos": [
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        },
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 1,
                            "precoUnitario": 470
                        }
                    ],
                    "precoTotal": 5710,
                    "quantidadeTotal": 2,
                    "idUsuario": "yCEm7vQEsDhjxPXP",
                    "_id": "iO18lUlunajYRdul"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 2,
                            "precoUnitario": 470
                        },
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        }
                    ],
                    "precoTotal": 6180,
                    "quantidadeTotal": 3,
                    "idUsuario": "oUb7aGkMtSEPf6BZ",
                    "_id": "qbMqntef4iTOwWfg"
                },
                {
                    "produtos": [
                        {
                            "idProduto": "K6leHdftCeOJj8BJ",
                            "quantidade": 1,
                            "precoUnitario": 5240
                        },
                        {
                            "idProduto": "BeeJh5lz3k6kSIzA",
                            "quantidade": 1,
                            "precoUnitario": 470
                        }
                    ],
                    "precoTotal": 5710,
                    "quantidadeTotal": 2,
                    "idUsuario": "0uxuPY0cbmQhpEz1",
                    "_id": "wUTsjpgA9hMIKphS"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Successful GET request 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "carrinhos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 19 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 61B

Test Pass Percentage
79 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MTYsImV4cCI6MTY2MjM4OTExNn0.MY-muJEHkONRneRMFgtdsFGgDieSKjInU5ErEDNNgwc
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token f3ee71eb-597f-434a-a7cc-218847034598
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id ce595a08-8a4f-41ea-88f4-d858c455e219
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Successful POST request 0 2 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 30 8 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Successful POST request
expected 400 to be one of [ 201, 202 ]
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/qbMqntef4iTOwWfg
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 401B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e62c12ab-bc98-4222-b762-79168a0ade7b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 328a4e3d-5876-44db-b24e-03778b33b0e9
Content-Type application/json; charset=utf-8
Content-Length 401
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "produtos": [
                {
                    "idProduto": "BeeJh5lz3k6kSIzA",
                    "quantidade": 2,
                    "precoUnitario": 470
                },
                {
                    "idProduto": "K6leHdftCeOJj8BJ",
                    "quantidade": 1,
                    "precoUnitario": 5240
                }
            ],
            "precoTotal": 6180,
            "quantidadeTotal": 3,
            "idUsuario": "oUb7aGkMtSEPf6BZ",
            "_id": "qbMqntef4iTOwWfg"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response time is less than 200ms 1 0 0
Status code name has string 1 0 0
Successful GET request 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 18 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/cancelar-compra
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 86B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MTYsImV4cCI6MTY2MjM4OTExNn0.MY-muJEHkONRneRMFgtdsFGgDieSKjInU5ErEDNNgwc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 53e0916d-0ea4-40e9-b74d-8449b0d9c401
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 78a9d50f-d8dc-4228-a925-6cae052dde1a
Content-Type application/json; charset=utf-8
Content-Length 86
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso. Estoque dos produtos reabastecido"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 8ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MTYsImV4cCI6MTY2MjM4OTExNn0.MY-muJEHkONRneRMFgtdsFGgDieSKjInU5ErEDNNgwc
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3c089dd5-39d6-433d-855a-528c47c98ffc
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 28485451-18b9-4596-abf2-784fc2a0f62d
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "KPFVm8iXjaMmr06t"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/carrinhos/concluir-compra
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MTYsImV4cCI6MTY2MjM4OTExNn0.MY-muJEHkONRneRMFgtdsFGgDieSKjInU5ErEDNNgwc
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token b9ceea52-5df5-4bc1-a43a-90d21e41d618
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 21a06a71-82f2-41c6-a8b7-86da00296e91
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:16 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Status code name has string 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 34 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/xc1Erfr8RHIH1u0M
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 3f642456-17f1-4bfd-babe-63df84c8dca9
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 3b8124e7-1f20-4455-9afc-f4ee5019c0b5
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 6ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RlQGNhcnJpbmhvLmNvbSIsInBhc3N3b3JkIjoiMTIzNDUiLCJpYXQiOjE2NjIzODg1MTYsImV4cCI6MTY2MjM4OTExNn0.MY-muJEHkONRneRMFgtdsFGgDieSKjInU5ErEDNNgwc
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 8237b739-6e90-4498-aaac-86cb82e7ca98
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 57
Request Body
{
          "email": "fulano@qa.com",
           "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 2c70d746-f6fa-4c5c-850b-36a7cedd520e
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE3LCJleHAiOjE2NjIzODkxMTd9.SlXSVw3vHekNtZTLDKdRn03jrqgt8eXZeur6qtNVWu4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 3.37KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 78ed485a-6d00-4564-8c15-99ab843b8de2
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 659e67ef-f0f9-4e19-bcf2-4ff0a7784be7
Content-Type application/json; charset=utf-8
Content-Length 3448
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 17,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Ergonomic Concrete Pizza",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "Aiil7NRMWna0jl5g"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 335,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Gorgeous Wooden Chips",
                    "preco": 5000,
                    "descricao": "Concrete",
                    "quantidade": 1,
                    "_id": "CStfzGPc3byCT3Yw"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49930,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wBMVb0eLcccF7AUP"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Content-Type is present 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 61B

Test Pass Percentage
79 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE3LCJleHAiOjE2NjIzODkxMTd9.SlXSVw3vHekNtZTLDKdRn03jrqgt8eXZeur6qtNVWu4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token ad951d2f-6e17-42c7-b08a-1f0e73f1b362
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 33f92b12-57ed-4dab-9519-4fcc93078cdf
Content-Type application/json; charset=utf-8
Content-Length 61
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Não é permitido ter mais de 1 carrinho"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 0 2 0
Body matches string 0 2 0
Response time is less than 200ms 2 0 0
Successful POST request 0 2 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 0 2 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Total 30 8 0
Test Failures
Test NameAssertion Error
Status code is 201
expected response to have status code 201 but got 400
Body matches string
expected '{\n    "message": "Não é permitido ter mais de 1 carrinho"\n}' to include 'Cadastro realizado com sucesso'
Successful POST request
expected 400 to be one of [ 201, 202 ]
Resposta contem atributo "_id"
expected undefined to exist
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 08661649-5011-4143-aaad-66bfd1b0649e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 44
Request Body
{"email":"fulano@qa.com","password":"teste"}
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 20c12e39-0658-4a2d-aba6-ad8885e4f6cc
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE3LCJleHAiOjE2NjIzODkxMTd9.SlXSVw3vHekNtZTLDKdRn03jrqgt8eXZeur6qtNVWu4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 3 0 0
Body matches string 3 0 0
Response time is less than 200ms 3 0 0
Successful DELETE request 3 0 0
Resposta contem atributo "message" 3 0 0
Content-Type is present is present 3 0 0
Access-Control-Allow-Origin is present is present 3 0 0
x-dns-prefetch-control is present 3 0 0
x-frame-options is present 3 0 0
strict-transport-security is present 3 0 0
x-download-options is present 3 0 0
x-content-type-options is present 3 0 0
x-xss-protection is present 3 0 0
x-moesif-transaction-id is present 3 0 0
Content-Length is present 3 0 0
Date is present 3 0 0
Connection is present 3 0 0
Keep-Alive is present 3 0 0
Total 54 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/usuarios/A4s7mvFMrgvn0Wrg
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 308e2194-fdcd-43c3-bfe4-8a41afa0cb54
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8821627e-b421-45d9-ba2e-6e95113fd96b
Content-Type application/json; charset=utf-8
Content-Length 51
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Excluir usuario 2 0 0
Total 38 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE3LCJleHAiOjE2NjIzODkxMTd9.SlXSVw3vHekNtZTLDKdRn03jrqgt8eXZeur6qtNVWu4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1568230b-2860-4d7d-b8d9-e21181f437ac
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 57
Request Body
{
          "email": "fulano@qa.com",
           "password": "teste"
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id 8a37b759-2293-4854-afbf-9a2d5d405686
Content-Type application/json; charset=utf-8
Content-Length 265
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE3LCJleHAiOjE2NjIzODkxMTd9.SlXSVw3vHekNtZTLDKdRn03jrqgt8eXZeur6qtNVWu4"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Body matches string 1 0 0
Response time is less than 200ms 1 0 0
Successful POST request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "message" 1 0 0
Resposta contem atributo "authorization" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 11ms
Mean size per request: 3.37KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1f8cf451-328d-49a0-9fef-586711c3fd29
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id b16faa5a-79e9-42bb-b673-462b8b888de4
Content-Type application/json; charset=utf-8
Content-Length 3448
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 17,
            "produtos": [
                {
                    "nome": "Licensed Steel Towels",
                    "preco": 470,
                    "descricao": "Concrete",
                    "quantidade": 100,
                    "_id": "0cLci3Se0jxoG2aw"
                },
                {
                    "nome": "Unbranded Fresh Keyboard",
                    "preco": 25,
                    "descricao": "Steel",
                    "quantidade": 6,
                    "_id": "6OnahBgmAiaJ6Apj"
                },
                {
                    "nome": "Practical Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "9Y4lkUEw37yuz4f8"
                },
                {
                    "nome": "Ergonomic Concrete Pizza",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "Aiil7NRMWna0jl5g"
                },
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 336,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Gorgeous Wooden Chips",
                    "preco": 5000,
                    "descricao": "Concrete",
                    "quantidade": 1,
                    "_id": "CStfzGPc3byCT3Yw"
                },
                {
                    "nome": "produto sem estoque",
                    "preco": 5000,
                    "descricao": "produto que nao tera estoque",
                    "quantidade": 0,
                    "_id": "F3sOiJGmgeEZYzq0"
                },
                {
                    "nome": "Fantastic Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "FrFQZvydcMC4ksxY"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49931,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Refined Soft Bike",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "SS3aBYBeS6UmzvN5"
                },
                {
                    "nome": "Refined Cotton Mouse",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "m4s6duL0tGcZ7GCg"
                },
                {
                    "nome": "Awesome Frozen Towels",
                    "preco": 5000,
                    "descricao": "Rubber",
                    "quantidade": 1,
                    "_id": "mgQJbf17TJrntCf3"
                },
                {
                    "nome": "Sleek Cotton Salad",
                    "preco": 5000,
                    "descricao": "Steel",
                    "quantidade": 1,
                    "_id": "pvDC6ZEJ7kzoefbo"
                },
                {
                    "nome": "Practical Plastic Sausages",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "q1WUArjzYfmWBCDU"
                },
                {
                    "nome": "Intelligent Metal Keyboard",
                    "preco": 5000,
                    "descricao": "Frozen",
                    "quantidade": 1,
                    "_id": "vxnxEjTKv6Uf9Lpu"
                },
                {
                    "nome": "Ergonomic Frozen Ball",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wBMVb0eLcccF7AUP"
                },
                {
                    "nome": "Rustic Metal Towels",
                    "preco": 800,
                    "descricao": "testando edicao",
                    "quantidade": 7,
                    "_id": "wqFcONh2LkIQWRd8"
                }
            ]
        }
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Content-Type is present 1 0 0
Response time is less than 200ms 1 0 0
Successful GET request 1 0 0
Status code name has string 1 0 0
Resposta contem atributo "quantidade" 1 0 0
Resposta contem atributo "produtos" 1 0 0
Content-Type is present is present 1 0 0
Access-Control-Allow-Origin is present is present 1 0 0
x-dns-prefetch-control is present 1 0 0
x-frame-options is present 1 0 0
strict-transport-security is present 1 0 0
x-download-options is present 1 0 0
x-content-type-options is present 1 0 0
x-xss-protection is present 1 0 0
x-moesif-transaction-id is present 1 0 0
Content-Length is present 1 0 0
Date is present 1 0 0
Connection is present 1 0 0
Keep-Alive is present 1 0 0
Total 20 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/carrinhos
Response Information
Response Code: 201 - Created
Mean time per request: 6ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNjYyMzg4NTE3LCJleHAiOjE2NjIzODkxMTd9.SlXSVw3vHekNtZTLDKdRn03jrqgt8eXZeur6qtNVWu4
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e51b5774-92bb-4f0f-9c45-441643fa4b55
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{
          "produtos": [
            {
              "idProduto": "K6leHdftCeOJj8BJ",
              "quantidade": 1
            },
            {
              "idProduto": "BeeJh5lz3k6kSIzA",
              "quantidade": 1
            }
          ]
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id dbe87c5d-879d-4028-aabe-723d4d82d246
Content-Type application/json; charset=utf-8
Content-Length 82
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "EYAVvWro6ia1z2KO"
        }
Test Information
NamePassedFailedSkipped
Status code is 201 2 0 0
Body matches string 2 0 0
Response time is less than 200ms 2 0 0
Successful POST request 2 0 0
Resposta contem atributo "message" 2 0 0
Resposta contem atributo "_id" 2 0 0
Content-Type is present is present 2 0 0
Access-Control-Allow-Origin is present is present 2 0 0
x-dns-prefetch-control is present 2 0 0
x-frame-options is present 2 0 0
strict-transport-security is present 2 0 0
x-download-options is present 2 0 0
x-content-type-options is present 2 0 0
x-xss-protection is present 2 0 0
x-moesif-transaction-id is present 2 0 0
Content-Length is present 2 0 0
Date is present 2 0 0
Connection is present 2 0 0
Keep-Alive is present 2 0 0
Envia id para variável de ambiente. 2 0 0
Total 40 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/carrinhos/EYAVvWro6ia1z2KO
Response Information
Response Code: 400 - Bad Request
Mean time per request: 3ms
Mean size per request: 45B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 1633b58e-c567-48a1-91f3-e4feb93b9921
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
x-moesif-transaction-id adb3ecc7-f78b-4a71-9dd1-fc050eadf584
Content-Type application/json; charset=utf-8
Content-Length 45
Date Mon, 05 Sep 2022 14:35:17 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Carrinho não encontrado"
        }
Test Information
NamePassedFailedSkipped
Status code is 200 4 0 0
carrinho excluido 4 0 0
Response time is less than 200ms 4 0 0
Successful DELETE request 4 0 0
Resposta contem atributo "message" 4 0 0
Content-Type is present is present 4 0 0
Access-Control-Allow-Origin is present is present 4 0 0
x-dns-prefetch-control is present 4 0 0
x-frame-options is present 4 0 0
strict-transport-security is present 4 0 0
x-download-options is present 4 0 0
x-content-type-options is present 4 0 0
x-xss-protection is present 4 0 0
x-moesif-transaction-id is present 4 0 0
Content-Length is present 4 0 0
Date is present 4 0 0
Connection is present 4 0 0
Keep-Alive is present 4 0 0
Total 72 0 0
Test Failure
Test NameAssertion Error